package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.entity.NursingProject;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingProjectMapper {

    /**
     * 分页查询护理项目
     *
     * @param name
     * @param status
     * @return
     */
    Page PageNursing(@Param("name") String name, @Param("status") Integer status);


    void addNursingProject(NursingProject nursingProject);

    //根据id查询护理
    NursingProjectVo getNursing(Long id);

    //修改护理项目
    void updateNursingProject(NursingProject nursingProject);
    //删除护理项目
    void deleteNursing(Long id);
    //查询所有护理项目
    List<NursingProjectVo> getAllNursingProject();

    ////启用/禁用护理项目
    void modifyState(Long id, Integer status);






}
